package cn.inyaa.admin.blog.dao;

import cn.inyaa.admin.blog.bean.InyaaBlogArticle;
import org.springframework.data.jpa.repository.JpaRepository;

public interface InyaaBlogArticleDao extends JpaRepository<InyaaBlogArticle, Integer> {

    InyaaBlogArticle getByBlogId(Integer blogId);

    void deleteByBlogId(Integer blogId);
}
